package cn.qingyun.gis.modules.baogan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * 路网数据审核表
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "micro_street_audit_log")
public class MicroStreetAuditLog {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 路网id
     */
    @TableField(value = "street_id")
    private String streetId;

    /**
     * 审核状态 0待审核 1审核通过 2驳回
     */
    @TableField(value = "review_state")
    private Integer reviewState;

    /**
     * 审核时间
     */
    @TableField(value = "review_time")
    private Date reviewTime;

    /**
     * 审核明细
     */
    @TableField(value = "review_remark")
    private String reviewRemark;

    /**
     * 审核人
     */
    @TableField(value = "reviewer")
    private String reviewer;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人名称
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建人手机号
     */
    @TableField(value = "create_phone")
    private String createPhone;

    /**
     * 创建id
     */
    @TableField(value = "create_id")
    private String createId;

    /**
     * 微网格code
     */
    @TableField(value = "micro_grid_code")
    private String microGridCode;

    /**
     * 微网格名称
     */
    @TableField(value = "micro_grid_name")
    private String microGridName;

    /**
     * 审批人手机号
     */
    @TableField(value = "review_phone")
    private String reviewPhone;

    /**
     * 修改前的wkt
     */
    @TableField(value = "old_wkt")
    private String oldWkt;

    /**
     * 修改后的wkt
     */
    @TableField(value = "new_wkt")
    private String newWkt;

    @TableField(value = "operation_type")
    private Integer operationType;
}
